using System;
using System.Windows.Forms;
using BizTalk.BuildGenerator.UI.Navigation;
using BizTalk.BuildGenerator.MetaData;

namespace BizTalk.BuildGenerator.UI.UserControls
{
    public partial class BuildPropertiesControl : UserControl, IWizardControl
    {
        private BuildProperties _BuildProperties;

        public BuildPropertiesControl()
        {
            InitializeComponent();
        }


        public void RegisterBuildProperties(BuildProperties buildProperties)
        {
            _BuildProperties = buildProperties;
            BuildPropertiesPropertyGrid.SelectedObject = _BuildProperties;
        }

        private void ApplicationBindingsControl_Load(object sender, EventArgs e)
        {
            if (!DesignMode)
            {
                
            }
        }

        #region IWizardControl Members

        public MoveNextResult MoveNext()
        {
            MoveNextResult result = new MoveNextResult();
            result.CanMoveNext = true;
            return result;
        }

        #endregion
    }
}